package com.easywan.web.controller.bank;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.easywan.core.BaseController;
import com.easywan.pojo.IResult;
import com.easywan.service.IToolsIdCardService;

@Controller
@RequestMapping("bank")
public class IdCardController extends BaseController{
	@Autowired
	IToolsIdCardService idCardService;
	@RequestMapping("idCardCreate")
	public String index(){
		return "bank/idCardCreate.jsp";
	}
	@ResponseBody
	@RequestMapping("doIdCardCreate")
	public String doIdCardCreate(){
		IResult idIResult = idCardService.idCardCreate();
		return toJSON(idIResult);
	}
}
